<template>
  <view class="my-container">
    <Login v-if="!token"></Login>
    <UserInfo v-else></UserInfo>
  </view>
</template>

<script>
  import badegMix from '@/mixins/tabbar-badge.js'
  import {mapState} from "vuex"
  export default {
    mixins: [badegMix],
    data() {
      return {
        
      };
    },
    computed: {
      ...mapState("userAbout", ['token'])
    }
  }
</script>

<style lang="scss">
  .my-container {
    // background-color: #f4f4f4;
    height: 100vh;
  }
</style>
